<admintpl file="header" />
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:U('user/indexadmin/index')}">{:L('USER_INDEXADMIN_INDEX')}</a></li>
        <li class="active"><a href="{:U('user/indexadmin/adduser')}">添加用户</a></li>
    </ul>
    <form method="post" class="form-horizontal js-ajax-form" action="{:U('admin/User/add_post')}">
        <fieldset>
            <input type="hidden" name="role_id[]" value="3">
            <input type="hidden" name="user_type" value="3">
            <div class="control-group" id="content">
                <label class="control-label">用户名：</label>
                <div class="controls">
                    <input type="text" name="user_login" placeholder="登录用户名" value="{$row.user_login}"/>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">{:L('PASSWORD')}</label>
                <div class="controls">
                    <input type="password" name="user_pass" value="{$row.user_pass}">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">昵称</label>
                <div class="controls">
                    <input type="text" name="user_nicename" placeholder="昵称"  value="{$row.user_nicename}">
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">介绍</label>
                <div class="controls">
                    <textarea name="signature" id="signature" cols="30" rows="10">{$row.signature}</textarea>
                </div>
            </div>
        </fieldset>
        <div class="form-actions">
            <a class="btn" href="{:U('user/teacher')}">{:L('BACK')}</a>
            <button type="submit" class="btn btn-primary js-ajax-submit">添加</button>
        </div>
    </form>
</div>
<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>